/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */

package acid.spring.db;

/**
 *
 * @author morgan
 */
public class GeneAlias implements java.io.Serializable{

    private int gene_alias_id;
    private String alias;
    private Organism organism;

    public GeneAlias(int gene_alias_id, String alias, Organism organism)
    {
        this.gene_alias_id = gene_alias_id;
        this.alias = alias;
        this.organism = organism;
    }

    

    /**
     * Get the value of organism
     *
     * @return the value of organism
     */
    public Organism getOrganism()
    {
        return organism;
    }

    /**
     * Set the value of organism
     *
     * @param organism new value of organism
     */
    public void setOrganism(Organism organism)
    {
        this.organism = organism;
    }

    /**
     * Get the value of alias
     *
     * @return the value of alias
     */
    public String getAlias()
    {
        return alias;
    }

    /**
     * Set the value of alias
     *
     * @param alias new value of alias
     */
    public void setAlias(String alias)
    {
        this.alias = alias;
    }

    /**
     * Get the value of gene_alias_id
     *
     * @return the value of gene_alias_id
     */
    public int getGene_alias_id()
    {
        return gene_alias_id;
    }

    /**
     * Set the value of gene_alias_id
     *
     * @param gene_alias_id new value of gene_alias_id
     */
    public void setGene_alias_id(int gene_alias_id)
    {
        this.gene_alias_id = gene_alias_id;
    }

    @Override
    public String toString()
    {
        return "GeneAlias{" + "alias=" + alias + '}';
    }

}
